package com.xy.framework.base;

import java.util.Date;

import com.xy.framework.base.entity.Entity;

/**
 * 用户信息
 * 
 * @author Administrator
 *
 */
@SuppressWarnings("serial")
public class User extends Entity {

	public static final String NAME = "basics_user.name";
	public String name;
	public Date birthday;
	public String avatar;
	public String realName;
	public String userType;
	public String depId;

	private UserAuthLocal userAuthLocal;
	private Dep dep;

	public String getDepId() {
		return depId;
	}

	public void setDepId(String depId) {
		this.depId = depId;
	}

	public Dep getDep() {
		return dep;
	}

	public void setDep(Dep dep) {
		this.dep = dep;
	}

	public UserAuthLocal getUserAuthLocal() {
		return userAuthLocal;
	}

	public void setUserAuthLocal(UserAuthLocal userAuthLocal) {
		this.userAuthLocal = userAuthLocal;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public User() {
		super();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}
}
